import { get, post } from './config'

// 2.9.1 获取省市区
export const getAddress = () => get('/qianbomall/app/customer/getAllArea')

// 3.1获取首页
export const initHomePage = params => post('/qianbomall/app/main/index', params)

// 3.2查看所有商品
export const getAllGoods = params => post('/qianbomall/app/goods/getAllGoods', params)

// 3.3 查看商品详情
export const getGoodsInfo = params => post('/qianbomall/app/goods/getGoodsInfo', params)

// 3.5 获取所有商品系列
export const getAllType = params => post('/qianbomall/app/goods/getGoodsTel', params)